home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu314.dms / pu314.adf / NComm / ExampleII.script < prev    next >
Text File  |  1990-01-19  |  641b  |  33 lines

  1. ;
  2. ; Script for reading new messages on Amiga BBS
  3. ; Must be executed from phonebook, or 'DIAL' command
  4. ; line must be inserted as well as password.
  5. ;
  6.  
  7.     when "- More (Y)/N/NS? " send "NS\n"
  8.  
  9.     ;Log in
  10.     timeout 1 send "\n^P"
  11.     converse "First name: " "firstname;lastname\n"
  12.     timeout 0
  13.     converse "Password: " "\p\n"
  14.  
  15.     ;Turn on capture
  16.     wait "\n"
  17.     capture "ram:ABBS"
  18.  
  19.     ;Start reading messages...
  20.     when "(RE Quit)" send "\n"
  21.     converse  "(? for menu)" "\n"
  22.  
  23.     ;Scan for new files...
  24.     converse  "(? for menu)" "N\n"
  25.     converse  "(? for menu)" "*\n"
  26.  
  27.     ;Bye!
  28.     converse  "(? for menu)" "G;Y\n"
  29.  
  30.     wait "NO CARRIER"
  31.     capture off
  32.     message "\nEnd of script\n"
  33.